package spring.fox.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author cuichao
 * @Description: RpcReference
 * @Date: create in 2021/3/6 15:28
 */
@Target({ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface RpcReference {

    /**
     * Rpc-Service版本号
     *
     * @return
     */
    String version() default "";

    /**
     * Rpc-Service 分组
     *
     * @return
     */
    String group() default "";

    /**
     * Rpc-Service 路径
     */
    String path() default "";

}
